using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Threading;
using System.Reflection;

namespace PS.Framework.Remoting
{
	public class RemotingInterface<T> : MarshalByRefObject
	{
		#region Fields

      	#endregion

		#region Properties

		private T _remotingObject = RemoteObject<T>.Instance;
		public T RemotingObject
		{
			get { return _remotingObject; }
			set { _remotingObject = value; }
		}

		#endregion

		#region Construction / Destruction

        public RemotingInterface()
        {   
        }

		#endregion

		#region Methods      

        public void RegisterEventHandler(string sEventName, RemoteEventHandler eventhandler)
        {
            EventProxy.Instance.RegisterEventHandler(sEventName, eventhandler);
        }

 		#endregion
	}
}
